package com.ist.smartvehicle;

import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import android.util.Log;

public class ComunicationModule extends Service {
	
	private static final String LOGTAG = "COMUNICATION_MODULE";
	
    public class LocalBinder extends Binder {
    	ComunicationModule getService() {
            return ComunicationModule.this;
        }
    }
    
    private final IBinder mBinder = new LocalBinder();

	@Override
	public IBinder onBind(Intent intent) {
		return mBinder;
	}
	
	@Override
	public void onCreate() {
		super.onCreate();
		Log.d(LOGTAG, "Service created...");
	}
	
	@Override
	public void onDestroy() {
		super.onDestroy();
		Log.d(LOGTAG, "Service destroyed...");
	}

}
